﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaseUnits
{
    public interface IPowerPlant
    {
        String ExternalId { get; }
        int PowerPlantId { get; }
        String Description { get; }
        List<IPowerUnit> PowerUnits { get; }
        String ToString();
        void AddPowerUnit(IPowerUnit powerUnit);
        double TotalElectricityDispatch(DateTime dateFrom, DateTime dateTo);
        double GetElectricityDispatch(DateTime date, int hour = -1);
        double GetIncoming(DateTime date, int hour = -1);
        double GetOutgoing(DateTime date, int hour = -1);
        double TotalIncoming(DateTime dateFrom, DateTime dateTo);
        double TotalOutgoing(DateTime dateFrom, DateTime dateTo);
        //IPowerGrid Grid { get; }
    }
}
